import service from '@/utils/request'

export const getHugeList = (params) => {
  return service({
    url: '/openApi/getHugeData',
    method: 'get',
    params
  })
}

export const getSuggestWords = (data) => {
  return service({
    url: '/openApi/suggestWords',
    method: 'post',
    data
  })
}

export const createProject = (data) => {
  return service({
    url: '/openApi/createProject',
    method: 'post',
    data
  })
}

export const updateProject = (data) => {
  return service({
    url: '/openApi/updateProject',
    method: 'post',
    data
  })
}

export const delProject = (data) => {
  return service({
    url: '/openApi/delProject',
    method: 'post',
    data
  })
}

export const updateStatusProject = (data) => {
  return service({
    url: '/openApi/updateStatusProject',
    method: 'post',
    data
  })
}
